Added Xml persistency.