Prepare the code for refactoring.