Added priority to TaskDetails.