Improved algorithms which find labels and decorations for links
Generated source code.