Add slide related callbacks.