Support collections with each() method