Conversion to memoryhash. At least, the start of it.