No need to call getKernelDirectory statically