Removed \r from text functions.