Add getParams method on Request