Added TaskDocuments constructor.