Fix documentation for TaskCollection.