Adding fast detect function to ExternalCellRefDetector.