Add dependency on entityreference