Tweaks to detector.