Instantiate params in constructor

Closes #2.