Found out the sizeof/offset of StructType/StructField annotations are optional, thanks Riven.