Update spec #to_xml methods.