Added code for XSD use.