Added newCtor function that creates new constructors