Support c-compatible structs