Use the Task::write*() helpers.