Performance improvements for checkbox and radio buttons.