getActiveScopes returns an array, not a ref now