Oh yes, I meant exactly what you wrote: initParams?.keySet() and still, I would suggest to add it there so it is more "bullet proof". 

About formatting, don't worry I can do it later on... But if you are interested, there should be additional spaces:

```
for(def name : initParams.keySet()){
```
Should be: 
```
for (def name : initParams.keySet()) {
```