Introduce state service for sanity-preserving history management.