Added a hook mechanism to enrich the session and model based on the navigation