Renamed "globalScope" to "root" in the query API parameters