Added ArrayCollector in compiler impl.