 
         // TODO: share this logic with SQLiteHistory.
         if let faviconUrl = row["iconURL"] as? String,
-           let date = row["iconDate"] as? Double,
-           let faviconType = row["iconType"] as? Int {
-            bookmark.favicon = Favicon(url: faviconUrl,
-                date: NSDate(timeIntervalSince1970: date),
-                type: IconType(rawValue: faviconType)!)
+            let date = row["iconDate"] as? Double,
+            let faviconType = row["iconType"] as? Int {
+                bookmark.favicon = Favicon(url: faviconUrl,
+                    date: NSDate(timeIntervalSince1970: date),
+                    type: IconType(rawValue: faviconType)!)
         }
 
         bookmark.id = id

        "FROM (\(inner)) AS bookmarks " +
        "LEFT OUTER JOIN favicons ON bookmarks.faviconID = favicons.id"
        let args: Args = [url.absoluteString]
        return db.runQuery(sql, args: args, factory: SQLiteBookmarks.itemFactory)
    }
}


        return BookmarkNode(guid: guid, title: title)
    }

    class func factory(row: SDRow) -> BookmarkNode {
        if let typeCode = row["type"] as? Int, type = BookmarkNodeType(rawValue: typeCode) {
            switch type {
            case .Bookmark:
