[Kernel] Fix already existing equals/hascode implementation fix #37