Add isUndoing().