Removed trim and other non-needed string functions.