allow all CharSequence types
revert changes for ticket 2869