Please add a comment to explain why priority is `40`.
The reason is that we need it to happen *before* the router, which priority is `32`.