New memory wrapper changes.