Add recursive model relations.