Currently, a Slider object is expected as parameter. Instead of that, it would be nice if they both implements Slider.