Also change some strxxx functions to pure