It implements another API for patchctx because patch handling is very different from regular changectx.