Simplify memmap code.