Added search function for custom kernels.