Support for Primitve arrays