Add MemoryExtender class