A few updates to detector.py (some temporary).