MOD: refactor ITask.