Add and use a helper elements() to StructType. NFC.