Buffer must not know the HistoryEvent classes