     @cleanupItemView(item)
     @trigger 'pane:item-removed', [item, index]
 
+  # Public: Moves the given item to a the new index.
   moveItem: (item, newIndex) ->
     oldIndex = @items.indexOf(item)
     @items.splice(oldIndex, 1)

    else
      false

  cleanupItemView: (item) ->
    if item instanceof $
      viewToRemove = item

  viewsByClassName: null # Views with a setModel() method are stored here
  viewsByItem: null      # Views without a setModel() method are stored here

  # Private:
  initialize: (args...) ->
    if args[0] instanceof telepath.Document
      @state = args[0]
