suport for related instances in kirra