Added support for delegating scopes