Add a proper error system for the parsing of term.