     return if index is -1
 
     @emitter.emit 'will-remove-item', {item, index, destroyed}
-
-    if Grim.includeDeprecatedAPIs and typeof item.on is 'function'
-      @unsubscribe item
     @unsubscribeFromItem(item)
 
     if item is @activeItem

      else
        @activatePreviousItem()
    @items.splice(index, 1)
    @emit 'item-removed', item, index, destroyed if Grim.includeDeprecatedAPIs
    @emitter.emit 'did-remove-item', {item, index, destroyed}
    @container?.didDestroyPaneItem({item, index, pane: this}) if destroyed
    @destroy() if @items.length is 0 and atom.config.get('core.destroyEmptyPanes')

    else
      throw error

Grim = require 'grim'
if Grim.includeDeprecatedAPIs
  Pane.properties
    container: undefined
    activeItem: undefined
    focused: false
else
  Pane::container = undefined
  Pane::activeItem = undefined
