Remove constructor as a function