Add javadocs to the StructureView machinery.