Add relation generator