Added input lexing.