Added support for single-dimensional arrays of basic types