Use an InMemoryStore for preferences