Provide const-correct string functions.