Added trim on lists of strings.