Simplify `union_` by using `depends_on`.