query_params functionality (#525)