Handle empty variant structs and enums in variants