Removed unnecessary "for each" construct.