HistoryConfig and Viewer are now more generic