-{Disposable, CompositeDisposable} = require 'atom'
+{CompositeDisposable} = require 'atom'
 
 module.exports =
   config:

      order: 5
    scopeBlacklist:
      title: 'Scope Blacklist'
      description: 'Suggestions will not be provided for scopes matching this list. See: https://atom.io/docs/latest/advanced/scopes-and-scope-descriptors'
      type: 'array'
      default: []
      items:

      atom.config.transact ->
        atom.config.set('autocomplete-plus.maxVisibleSuggestions', oldMax)
        atom.config.unset('autocomplete-plus.maxSuggestions')
    @subscriptions = new CompositeDisposable
    @getAutocompleteManager()

  # Public: Cleans everything up, removes all AutocompleteManager instances
  deactivate: ->
    @subscriptions.dispose()
    @subscriptions = null
    @autocompleteManager = null

  getAutocompleteManager: ->
    unless @autocompleteManager?
      AutocompleteManager = require './autocomplete-manager'
      @autocompleteManager = new AutocompleteManager()
      @subscriptions.add(@autocompleteManager)
    @autocompleteManager

  consumeSnippets: (snippetsManager) ->
