rename charSets to charClasses to reflect standards.