code: function(node, autoRefresh) { 
  
          // Don't delete the root node
          if (node.isRoot()) {
              return false;
          }
  
          // Get the branch that we may need to refresh
          var p = node.parent;
          if (p.parent) {
              p = p.parent;
          }
  
          // Delete the node and its children
          this._deleteNode(node);
  
          // Refresh the parent of the parent
          if (autoRefresh && p && p.childrenRendered) {
              p.refresh();
          }
  
          return true;
      }
docs: Removes the node and its children, and optionally refreshes the
  branch of the tree that was affected.
  @method removeNode
  @param {Node} node to remove
  @param {boolean} autoRefresh automatically refreshes branch if true
  @return {boolean} False is there was a problem, true otherwise.