Updated version of the "comparingReference" sample plugin.