   constructor: (params) ->
     super
 
-    unless Grim.includeDeprecatedAPIs
-      @container = params?.container
-      @activeItem = params?.activeItem
+    @container = params?.container
+    @activeItem = params?.activeItem
 
     @emitter = new Emitter
     @itemSubscriptions = new WeakMap

    oldIndex = @items.indexOf(item)
    @items.splice(oldIndex, 1)
    @items.splice(newIndex, 0, item)
    @emit 'item-moved', item, newIndex if Grim.includeDeprecatedAPIs
    @emitter.emit 'did-move-item', {item, oldIndex, newIndex}

  # Public: Move the given item to the given index on another pane.

    else
      throw error

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