If you have an interface that defines just this at...
# announcements
d
If you have an interface that defines just this attribute you could implement that interface by delegation (
class MyClass : MyInterface by delegate
). However if that is not the case, you have do it the way you are doing currently I think.