Cleaning some code, to begin the code of CCD and CCR.