Add memory manager.