General cleanup and implement iterations for each revision