     flashObject = {class: klass, duration}
     @flashQueue ?= []
     @flashQueue.push(flashObject)
-    @emit 'flash' if Grim.includeDeprecatedAPIs
     @emitter.emit 'did-flash'
 
   consumeNextFlash: ->
     return @flashQueue.shift() if @flashQueue?.length > 0
     null
-
-if Grim.includeDeprecatedAPIs
-  EmitterMixin = require('emissary').Emitter
-  EmitterMixin.includeInto(Decoration)
-
-  Decoration::on = (eventName) ->
-    switch eventName
-      when 'updated'
-        Grim.deprecate 'Use Decoration::onDidChangeProperties instead'
-      when 'destroyed'
-        Grim.deprecate 'Use Decoration::onDidDestroy instead'
-      when 'flash'
-        Grim.deprecate 'Use Decoration::onDidFlash instead'
-      else
-        Grim.deprecate 'Decoration::on is deprecated. Use event subscription methods instead.'
-
-    EmitterMixin::on.apply(this, arguments)
-
-  Decoration::getParams = ->
-    Grim.deprecate 'Use Decoration::getProperties instead'
-    @getProperties()
-
-  Decoration::update = (newProperties) ->
-    Grim.deprecate 'Use Decoration::setProperties instead'
-    @setProperties(newProperties)

    @markerDestroyDisposable.dispose()
    @markerDestroyDisposable = null
    @destroyed = true
    @emit 'destroyed' if Grim.includeDeprecatedAPIs
    @emitter.emit 'did-destroy'
    @emitter.dispose()


_ = require 'underscore-plus'
{Emitter} = require 'event-kit'

idCounter = 0
nextId = -> idCounter++
