Added createConstructor() documentation