Add simple filter for trimming strings.