Update -collect and -toArray documentation