I wonder if it would be a good idea to apend the assignments from which a KernelFunction was created to KernelFunction.
KernelFunction