Adding entityreference