Remove factories.