added eachCollection and eachBlock convenience methods