         return cell
     }
 
-    private func createListCell(cell: TwoLineCollectionViewCell, site: Site) -> TwoLineCollectionViewCell {
-        cell.textLabel.text = site.title.isEmpty ? site.url : site.title
-        cell.detailTextLabel.text = site.url
-        cell.mergeAccessibilityLabels()
-        if let icon = site.icon {
-            cell.imageView.sd_setImageWithURL(NSURL(string: icon.url)!)
-        } else {
-            cell.imageView.image = ThumbnailCellUX.PlaceholderImage
-        }
-        return cell
-    }
-
     subscript(index: Int) -> Site? {
         if data.status != .Success {
             return nil

    override func viewDidLoad() {
        super.viewDidLoad()
        dataSource = TopSitesDataSource(profile: profile, data: Cursor(status: .Failure, msg: "Nothing loaded yet"))

        layout.registerClass(TopSitesSeparator.self, forDecorationViewOfKind: SeparatorKind)

        collection = TopSitesCollectionView(frame: self.view.frame, collectionViewLayout: layout)
        collection.backgroundColor = UIConstants.PanelBackgroundColor

            let indexPath = NSIndexPath(forItem: i, inSection: 0)
            let attr = layoutAttributesForItemAtIndexPath(indexPath)
            attrs.append(attr)
        }
        return attrs
    }

    override func layoutAttributesForItemAtIndexPath(indexPath: NSIndexPath) -> UICollectionViewLayoutAttributes! {
        let attr = UICollectionViewLayoutAttributes(forCellWithIndexPath: indexPath)

        // Set the top thumbnail frames.
        let row = floor(Double(indexPath.item / thumbnailCols))
        let col = indexPath.item % thumbnailCols
        let x = ThumbnailCellUX.Insets.left + thumbnailWidth * CGFloat(col)
        let y = ThumbnailCellUX.Insets.top + CGFloat(row) * thumbnailHeight
        attr.frame = CGRectMake(x, y, thumbnailWidth, thumbnailHeight)

        return attr
    }
