Fix unions exporting additional information.