Parser optimizations.