Writing factories.