Minor changes to View to make it into a module since no state required.