add refactorings to in-memory store.