Support for arrays of multiple types