Use history instead of hash.