Fleshing out applyconfidence.