Added GetMetadataXmlByName method.