Generalized behavior of kernels such that KernelRegistry does not need to be inherited