Implemented support for sparse arrays