implemented viewClasses() on getXML()