Corrected docstrings in credentials setter and to_xml methods