What if `allowedParams` is undefined?