Added makeConstructor method, it deprecates construct().