Added support for indices/keys specified as arrays.