Added method get_scopes, get_roles