Patch support for selection.classed.