Remove reference to deprecated method `get_entity_name'.