Switched to shared_ptr for ROIData and MultipleROIData