Refactored processing of many_from_xml
Made appropriate methods private for many_from_xml