Restructure titles as sub-elements