TEMP: support persistence to/from EEPROM