Refactored internals of utils package (XmlSchemas)