Imperfect Detectors