replaced deprecated scopes in docs