Remove some lexer and parser functionality that has been long deprecated.