     }
 
     public func hashGet(name: String, key: String) throws -> Data? {
-        return try self.send(command: .HashGet(name: name, key: key)).details.first
+        return try self.send(command: .HashGet(name: name, key: key)).result
     }
 
     public func hashDelete(name: String, key: String) throws {

    }

    public func get(key: String) throws -> Data? {
        return try self.send(command: .Get(key: key)).details.first
    }

    public func get(key: String, encoding: String.Encoding = .ascii) throws -> String? {


    public func increment(key: String) throws -> Int {
        let response = try self.send(command: .Increment(key: key))
        guard let result = response.result else {
            throw E.CommandError("Could not increment key \"\(key)\" (response: \(response)")
        }
        return Int(String(data: result, encoding: .utf8)!)!
