     func tableViewSelectionDidChange(_ notification: Notification) {
         print("notification: \(String(describing: notification.userInfo))")
 
-        if self.bonjourServer.devices.count > 0 {
-            let service = self.bonjourServer.devices[self.tableView.selectedRow]
-            self.bonjourServer.connectTo(service)
+        if bonjourServer.devices.count > 0 {
+            let service = bonjourServer.devices[tableView.selectedRow]
+            bonjourServer.connectTo(service)
         }
     }
 
     // MARK: - Private
 
     @IBAction private func sendData(_ sender: NSButton) {
-        if let data = self.toSendTextField.stringValue.data(using: String.Encoding.utf8) {
-            self.bonjourServer.send(data)
+        if let data = toSendTextField.stringValue.data(using: String.Encoding.utf8) {
+            bonjourServer.send(data)
         }
     }
 }


        let columnIdentifier = tableColumn!.identifier.rawValue
        if columnIdentifier == "bonjour-device" {
            let device = self.bonjourServer.devices[row]
            result = device.name
        }
        return result

    }
    
    func handleBody(_ body: NSString?) {
        readLabel.stringValue = body! as String
    }
    
    // MARK: TableView Delegates
