Support removing class names with dashes