Made some functions use a StringBuf for performance