This method is handy for test generation. Keep it in the InMemory... class.