Added missing typedef for TaskIterator.