Rename StateResult to TaggedResult.