delete defineCompletionTrigger API.