Adds some text functions.