Added pretty_xml helper.