Changing visibility to get the XML doc.