Remove 'for x in y' antipattern.