Refactored View to ViewType to match XML data.