Merge "New hook ApiCheckCanExecute."