Add initial support for kernel variants