Added the documentation for addUndoType, changeUndoType and removeUndoType