Set correct scopes for dependencies