Change names of class unions.