Adding memory classes for Inmemory