* Move code to build replacement into closure * Look for iter/iter_mut methods on types behind reference