Added AddTasks.