Keep track of tasks.