Add methods to process relationships