watcher: Avoid allocations due to enumerators