Add cancelFunction.
Merge remote-tracking branch 'origin/patch-1'