MemoryController requires a virtual destructor.