Adding MVC events to application flow.