Remove entity reference.