Use thorn namespace for CaKernel files