Some of the data manipulation for the 'Structures' tab.