Talked with @ostcar: In this special case `if type(active_slide) is type(self)` should be correct.