[Code] Adding eeprom emulation functions.