support for String[] and CharSequence[]