Modified callback function detection.