make Sp_Error and Version storable