Models detect their namespace when defining relationships