         userSnippetsFile = new File(userSnippetsPath)
         userSnippetsFile.on 'moved removed contents-changed', =>
           atom.config.transact =>
-            atom.config.scopedSettingsStore.removePropertiesForSource(userSnippetsPath)
+            atom.config.unset(null, source: userSnippetsPath)
             @loadSnippetsFile userSnippetsPath, (result) =>
               @add(userSnippetsPath, result)
         callback(new Disposable -> userSnippetsFile.off())

  # Get a RegExp of all the characters used in the snippet prefixes
  wordRegexForSnippets: (snippets) ->
    prefixes = {}
    for prefix of snippets
      prefixes[character] = true for character in prefix
    prefixCharacters = Object.keys(prefixes).join('')

        bodyTree ?= @getBodyParser().parse(body)
        snippet = new Snippet({name, prefix, bodyTree, bodyText: body})
        snippetsByPrefix[snippet.prefix] = snippet
      atom.config.set('snippets', snippetsByPrefix, source: filePath, scopeSelector: selector)

  getBodyParser: ->
    @bodyParser ?= require './snippet-body-parser'
