Removed useless iterator usage.