Removed the factory class.