Inlining variant type