Slider and range slider: Added deprecation warning