Removal of all references to C kernels