Simplified scopes by pulling out the `as` scope