Turn classes into structs