Use range-based for.

This should cover all instances in engine.
Use range-based for.

This cleans up all instances in the client.