Using leveldb for caching.