Fixed constructor function call.