Changed the way get_parameters_multistep() passes parameters to a factory