Added errors, and the lexing operator.