Fix for Disclose

Change addDisclose to setDisclose and update the sprintf to generate the correct XML.