Moved getFeedType to util.