Kernel handler.