Added a helper which filters strings.