Add basic support for arrays.