More leveldb work