But they are literally called in separate places... so I don't know what you're suggesting.
I suppose I could save the first function added (undo or redo) and only add to history when the second one is added as well. But I don't know if I like that solution. What do you think?