it seems like `intentTags` would be a clearer name for `initialIntentTags` since you do modify it.

Does this behave correctly if you edit the source xml and update?