Tune class priors.