Added basic support for array operations