Added requireScopes() method