Reinstated the XML call