                 view.imageView.image = UIImage(named: "deviceTypeMobile")
             }
             return view
-        } else {
-            return nil
         }
+
+        return nil
     }
 
     override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {

    }

    override func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
        if let client = clients?[section] {
            let view = tableView.dequeueReusableHeaderFooterViewWithIdentifier(RemoteClientIdentifier) as! TwoLineHeaderFooterView
            view.frame = CGRect(x: 0, y: 0, width: tableView.frame.width, height: RemoteTabsPanelUX.HeaderHeight)
            view.textLabel.text = client.name
            // TODO: Convert timestamp to locale-relative timestring.
            let label = NSLocalizedString("Last synced: %@", comment: "Remote tabs last synced time")
            view.detailTextLabel.text = String(format: label, String(client.modified))
            if client.type == "desktop" {

    weak var homePanelDelegate: HomePanelDelegate? = nil
    var profile: Profile!

    private var clientTabs: [ClientAndTabs]?

    private func tabAtIndexPath(indexPath: NSIndexPath) -> RemoteTab? {
        return clientTabs?[indexPath.section].tabs[indexPath.item]
    }

    override func viewDidLoad() {
