Added relations in the model.