Convert to use smart pointers for draw-event vectors.