Refactored ViewContainer to be able to load views using wire specs.