A little WIP work on compileKernel.