Added some features and a stub for extracting text from xml.