 {find, compact, extend, last} = require 'underscore-plus'
 {Model} = require 'theorist'
-{CompositeDisposable, Emitter} = require 'event-kit'
+{Emitter} = require 'event-kit'
 Serializable = require 'serializable'
 Grim = require 'grim'
 PaneAxis = require './pane-axis'

    super

    @emitter = new Emitter
    @subscriptions = new CompositeDisposable
    @items = []

    @addItems(compact(params?.items ? []))

    return if item in @items

    if typeof item.onDidDestroy is 'function'
      @itemSubscriptions.set item, item.onDidDestroy => @removeItem(item, true)
    else if typeof item.on is 'function'
      @subscribe item, 'destroyed', => @removeItem(item, true)

