       else
         isEqual(@properties[key], value)
 
-  # Private:
   toParams: (omitId) ->
     params = {@range, @reversed, @tailed, @invalidate, @persistent, @properties}
     params.id = @id unless omitId
     params
 
-  # Private:
   update: (params) ->
     if patch = @buildPatch(params)
       @manager.recordMarkerPatch(patch)

    else
      false

  # Private: Adjusts the marker's start and end positions and possibly its
  # validity based on the given {BufferPatch}.
  handleBufferChange: (patch) ->
    {oldRange, newRange} = patch
    rowDelta = newRange.end.row - oldRange.end.row

    @manager.intervals.remove(@id)
    @emit 'destroyed'

  extractParams: (params) ->
    params = @constructor.extractParams(params)
    params.properties = extend({}, @properties, params.properties) if params.properties?
