Added new constructor for HistoryObject and changed DBTables