Users can create a class that derives from Mappings and have all mapping configuration code in a single class that can be reused with MappingConfiguration instances or MappingConfiguration.Global.
There is nothing similar for UDT mapping configuration code so users have to call session.UserDefinedTypes.DefineAsync for each UDT.
See this SO question https://stackoverflow.com/q/61296491/10896275