State management spec, in progress.