Add strip method to remove whitespace