Refactored repeating code into abstract target form invoker and a more
high level for each.