Added entityreferences