Updated API for IndexedDb wrapper layer.