Support for user-generated types (xsd)