Added forAll() convenience methods for iterating over components