api refactor: fix default scopes, local_module_bootstrap