some refactoring of endian store instances.