Delete ununsed setKernelRootDirectory