Hi InterSystems Community!
The ObjectScript language of InterSystems IRIS has the ability to extend classes using a very interesting feature called XData.
It is a section in your class that can be used to create custom definitions to be used within the class itself and also externally.
To create one or more XData definitions for your class is very easy, see the example: