Simplify scopes.