leftover babel feature from smultiling
 getActiveScopes returns an array, not a ref now