refactor Mangle::set -> Mangle::in_scope