Renamed unions to traditional structs to allow for Swift support.