to avoid multiple rootsChanged notifications, perform entire source/gen root initialization in a single write action (IDEA-108620) [yole]