Use ITask instead of Task.