Refactor RootScope

Fixes #1049 
rename `_readOnlyGroup` to `_flushGroup`