Added lex and term models