Removed old memory code. Compilable.