Feature detection.