       rootView.deactivate() # Deactivates previous TreeView
 
       newRootView.attachToDom()
-      newRootView.activateExtension(TreeView)
+      newRootView.activatePackage(TreeView)
 
       newTreeView = newRootView.find(".tree-view").view()
       expect(newTreeView).toMatchSelector ':focus'

  describe "when the prototypes deactivate method is called", ->
    it "calls the deactivate on tree view instance", ->
      spyOn(treeView, "deactivate").andCallThrough()
      rootView.deactivateExtension(TreeView)
      expect(treeView.deactivate).toHaveBeenCalled()

  describe "serialization", ->

        rootView.deactivate()

        rootView = new RootView
        rootView.activatePackage(TreeView)
        treeView = rootView.find(".tree-view").view()

      it "does not create a root node", ->
