Modified getSdNaive and getSdBoot to work only with KernelWeights.