Kernel should not inherit from Module.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>