[Entity] Remove task from entity class.