Better support for Swift structs