Add more lexing primitive functions