Maybe we can this `onNavigation` to make it symmetric with `onBeforeNavigation`?