Let's modularize the factories.