fixed class constructors in generated files (instancetype)