Remove useless entity.