k3-sle: Handle generic parameters in inheritance