Generator support added for ArrayProducer.