Add pmem support