Updated with new string functions.