Implementing priority scopes