Removes some redundant string functions.