Renamed TaskStatus status property to state.