Old methods RoiCounter and Roi2Spectrum are hide by DEPRECATED compilation flag