BUG: HistoryContainer creation at runtime did not work as intended.