Refactored the Slide service.