Delete implemented for tasks.