Added a code example to the description of 'on' in the UndoTypes section