Yup, that’s what I’ve been doing.
Also, there is an enumeration method that would work really well if only enumerator arrays were not plagued by a bug - reported on 4.20 and will be hopefully fixed in 4.21.
Then you can do this:

Currently, anything added to enumerator array returns NewEnumerator rather than a correct value.