Class.prototype.addMethodObj = function (method) {
        this.methods.push(method);
        return this.getMethods();
    };