Make history tracking in hash optional