Added diff info to facilitate undo managers