Added support for changing views for mvc applications.