Fixing bugs: capturing object accesses (read/write) in iterators.