Added field tasks to TaskType