Adds support to setParameters to work with existing parameters

Also consistency, can you change it to ```When parameters is uninitialized"```?