C++03 KernelTraits and improvements