Implemented HistoryInput.