Length validations only on strings.