Add glossary references in the correct places.