Added prevent_events and prevent_route