I'm not sure about how much you are allowed to change in Generil Design Generator or what's available there, but I'd expect the class like this to be inheriting from a well defined Interface (in python - regular class) instead of including the information in the comment.