add Kernel.enum method