`add_params` seems useful but I'm a bit unsure about `get_param` -- shouldn't parameter fetching should be done in the view function?