added UserTypeMetadata to expose user types definitions