 # deleted. See {TextBuffer::markRange} for invalidation strategies.
 module.exports =
 class Marker
-  EmitterMixin.includeInto(this)
   Delegator.includeInto(this)
   Serializable.includeInto(this)
 
   @extractParams: (inputParams) ->
     outputParams = {}
     if inputParams?
-      @handleDeprecatedParams(inputParams)
+      @handleDeprecatedParams(inputParams) if Grim.includeDeprecatedAPIs
       extend(outputParams, pick(inputParams, OptionKeys))
       properties = omit(inputParams, OptionKeys)
       outputParams.properties = properties if size(properties) > 0

  getInvalidationStrategy: ->
    @invalidate

  # Deprecated: Use ::getProperties instead
  getAttributes: ->
    Grim.deprecate("Use Marker::getProperties instead.")
    @getProperties()

  # Deprecated: Use ::setProperties instead
  setAttributes: (args...) ->
    Grim.deprecate("Use Marker::setProperties instead.")
    @setProperties(args...)

  # Public: Returns an {Object} containing any custom properties associated with
  # the marker.
  getProperties: ->

  onDidChange: (callback) ->
    @emitter.on 'did-change', callback

  # Public: Returns the current {Range} of the marker. The range is immutable.
  getRange: ->
    @range
