Add code to increase history size to unlimited.