Given the change made in commit e048f1b9, it no longer makes sense to use a null pointer as the default value for the optHistory argument of the addToHistory function. GitLab: #1102 Change-Id: Ifc5ca8b069c16d7d9cca2cbc0c8237c56895ff4e