Simple history implementation.