docs: function(object, methods) {
          _.each(methods, function(method, name) {
              if (!_.isFunction(method)) {
                  throw new Error('Method "' + name + '" must be a function!');
              }
              object[name] = method
          });
      }