Renamed TaskStatus to TaskState