docs: function Class(name,options) {
  
    this.name = name || "";
    this.mixins = [];
    this.methods = {};
    this.properties = {};
  
    if (lib.type.isObject(options)) {
      var keys = Object.keys(options);
      var length = keys.length;
      for (var i = 0; i < length; i++) {
        var key = keys[i];
        var value = options[key];
        if (key === "constructor") {
          this.addConstructor(value);
        } else if (key === "inherits") {
          this.inherit(value);
        } else if (key === "mixins") {
          this.mixin(value);
        } else if (lib.type.isFunction(value) && lib.inherits.superOf(value,Property)) {
          this.addProperty(key,value);
        } else {
          this.addMethod(key,value);
        }
      }
    }
  
  }