I see. Are you suggesting that:
- a variant considering also referenced objects should be includes (this the one I would feel more appropriate)
- the thing should be moved to an external class inside RGen
- the thing should be just implemented by each user because is not a general use case