Modified 'relatedSlide' so it returns the content of the slide instead of the object.