Changed back arguments of runWithXParser to use ParameterGroup