Made single relation able to connect model with other models - plain models and trees