Add BelongsTo, HasOne and HasMany relations.