Add metadata management on xsd