Added support for converting array variants to slices.