Moved the #add_signature method to XMLHelpers and added a block to sign_xml