Add custom attributes to example protocol
Simplify resolving of named types in custom attributes
Use standard terminology