@mortenvp I think we should simplify this class by adding a "setup_factories" virtual function in the base class. Then we can just pass the 2 factories as parameters and customize them without duplicating the setup() method. We just need to set the expansion parameters. That's 2 lines of code.