Constructor.alloc = function() {
        var constructor = this;
        function F(args) {
            return Function.prototype.apply.call(constructor, this, args);
        }