Implement history.