Added models for glossary and trees