Merge "Support new-style kernels with no output and no input."