Fixing scopes.