Allow key to be null (as it is with a global override route like /api/*).