Add parser optimization