Changed place of import for function and ROI widgets.