add base16 support for all variants.