Removing redundant history code.