Properly deprecate the entity reference module