add cancelCompletion/prepareCompletion API. up to 1.3.0