docs: function(cls,methods) {
      var keys = Object.keys(methods);
      var len = keys.length;
      for (var i = 0; i < len; i++) {
        var key = keys[i];
        cls.prototype[key] = lib.method.createMethod(methods[key]);
      }
      return cls;
    }