 
 import Cocoa
 
-class MainMenuController: NSObject, NSMenuDelegate {
+class MainMenuController: NSObject {
     let statusItem = NSStatusBar.system().statusItem(withLength: NSVariableStatusItemLength)
     var devices: [DeviceModel] = []
     var deviceItems: [NSMenuItem] = []

        })
        
    }
    
    // MARK: Notification
    func devicesChangedNotification() {
        updateDeviceMenus()
    }
}

        }
    }
    
    // MARK: Notification
    func devicesChangedNotification() {
        updateDeviceMenus()
    }
}

extension MainMenuController: NSMenuDelegate {
    // MARK: - NSMenuDelegate
    func menuWillOpen(_ menu: NSMenu) {
        let bootedDevices = Device.bootedDevices()
