Move coroutine stuff to State class