Kernels need to be handled differently when inserting prototypes.