Improve wrapping for types and traits
fixing digest loop project with documentation.traits()
Merge branch 'features/revamp-types-and-traits-64018572' into epic/console-restyling