Adds support to setParameters to work with existing parameters

Let's keep consistency here:
```
if (! _parameters) {
  ...
} else {
...
}
```