Added a wrapper for trying out client-side array subindices