Fix uppercase and references in ToC.