This is a dummy in-memory implementation of the API, to be used for unit tests.