To extract the `ExpansionSummaryAttachment` from the trees