Add support for object arrays.