Update the single callback function to two separate doMatched and undoUnmatched functions.