Removal of entity reference