Simplified the written XML.