Constructor function now correctly calls wrapAllFunctions on the last constructor call when creating a new instance of an object.