Performing cleaning code.