Remove unnecessary string trimming methods.