             free(rawData)
             result = true
         }
-        //}
         return result
     }
     
     public func removeValueForKey(_ key: String) {
-        //serialQueue.smartSync {
         guard let db = db else {
             NSLog("Database reference is not existent (it has probably been closed)")
             return

            }
            backward ? levelDBIteratorMoveBackward(iterator) : levelDBIteratorMoveForward(iterator)
        }
        levelDBIteratorDelete(iterator);
        //}
    }
    
    // MARK: - Helper methods

    }
    
    public func removeAllValuesWithPrefix(_ prefix: String) {
        guard let db = db else {
            NSLog("Database reference is not existent (it has probably been closed)")
            return
