Added routing and transitions.