Isn't it better to allow other parameters as well? Let's pass the whole hash there. Could you write some tests for that?