 // MARK: - Private
 
 private extension Account {
+
+	func rebuildFeedDictionaries() {
+
+		var urlDictionary = [String: Feed]()
+		var idDictionary = [String: Feed]()
+
+		flattenedFeeds().forEach { (feed) in
+			urlDictionary[feed.url] = feed
+			idDictionary[feed.feedID] = feed
+		}
+
+		urlToFeedDictionary = urlDictionary
+		idToFeedDictionary = idDictionary
+	}
+
+	func addToFeedDictionaries(_ feed: Feed) {
+
+		urlToFeedDictionary[feed.url] = feed
+		idToFeedDictionary[feed.feedID] = feed
+	}
 
 	func topLevelObjectsContainsFeed(_ feed: Feed) -> Bool {
 		

    }
}

// MARK: - OPMLRepresentable

extension Account: OPMLRepresentable {

		
		if let folder = folder {
			didAddFeed = folder.addFeed(uniquedFeed)
			if didAddFeed {
				addToFeedDictionaries(uniquedFeed)
			}
		}
		else {
			if !topLevelObjectsContainsFeed(uniquedFeed) {
				children += [uniquedFeed]
				addToFeedDictionaries(uniquedFeed)
				dirty = true
				postChildrenDidChangeNotification()
			}
