code: function(ctx, flag, callOpts) {
  			var tree = ctx.tree,
  				node = ctx.node;
  			// Let the base implementation expand/collapse the node, then redraw the title
  			// after the animation has finished
  			return this._superApply(arguments).always(function() {
  				tree.nodeRenderTitle(ctx);
  			});
  		}
docs: Overload the `setExpanded` hook, so the counters are updated