Cleanup `State` usage.