Hook model initialize for relations.