Add class VolatileMemory.