code: function () {
      if (!this.parent) {
        return;
      }
      for (var method in this.handlers) {
        var parameters = this.handlers[method];
        this.exportHandler(method, null, parameters);
      }
      for (var path in this.children) {
        this.children[path].exportAllHandlers();
      }
    }
docs: (Re-)export all request handlers from this API resource tree.