Removed obsoleted `foreach`