Added typedef inside MemoryClass for ease of use.