Allow unpacking of EIDs into objects when read from database