OnMatched and OnCanceled are replaced by OnStopped