Changed Array resource to accept collection as array, not as arguments.