Make params function work as it should.