Adds support to setParameters to work with existing parameters

Same as above :)