The library deals with automatic saving/restoring of @State fields.

More types still to be considered.