Revert all changes made to IoC container for views as a task.