Making sure that params get constructed correctly