Allow InMemoryProvider to be created without new