Fix examples to work with new StructureTS code.