Add reference to constructor functions of slide elements on window.