This is the refactoring to AbstractHistoryTable