Allow to substitute storage layer in memory manager.