Removed unused factories.