Bug fix in Term. Added represents type in BaseTerm.