059cc9ccc4
The method getAddresses was removing addresses by mistake. Several instances of using self.attrib instead of self.xml.attrib.