Added hook for customization of glossary theme function