   styleElementAdded: (styleElement) ->
     {sheet} = styleElement
     @sheetsByStyleElement.set(styleElement, sheet)
-    @emit 'stylesheet-added', sheet if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-add-stylesheet', sheet
-    @emit 'stylesheets-changed' if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-change-stylesheets'
 
   styleElementRemoved: (styleElement) ->
     sheet = @sheetsByStyleElement.get(styleElement)
-    @emit 'stylesheet-removed', sheet if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-remove-stylesheet', sheet
-    @emit 'stylesheets-changed' if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-change-stylesheets'
 
   styleElementUpdated: ({sheet}) ->
-    @emit 'stylesheet-removed', sheet if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-remove-stylesheet', sheet
-    @emit 'stylesheet-added', sheet if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-add-stylesheet', sheet
-    @emit 'stylesheets-changed' if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-change-stylesheets'
 
   ###

          @loadUserStylesheet()
          @reloadBaseStylesheets()
          @initialLoadComplete = true
          @emit 'reloaded' if Grim.includeDeprecatedAPIs
          @emitter.emit 'did-change-active-themes'
          resolve()


{Emitter, Disposable, CompositeDisposable} = require 'event-kit'
{File} = require 'pathwatcher'
fs = require 'fs-plus'

# Extended: Handles loading and activating available themes.
#
