Move structure dictionary methods to structure_extensions