make IInMemoryOperations error from 5.1

since we need to still return it in v5