Method name has changed in the detector class