Delete ModelFactory because we cannot create large static method.