Make ValueBetween function public and common.