Added checking of slides.