Implementation of InMemoryDatabasePlugin