Remove unused task object