Remove unnecessary method (linked to UI) out of core ROI classes and put
it in a Factory class