queryParamsForHandler should be public