Preparing code for next iteration.