Add a list of tasks.