Allowing multiple generators in the same process. Using XML configuration