Tune references logic.