Reduce connascence of updating a task's state.