Adds support to setParameters to work with existing parameters