HistoryItem insertion and table.