Cleaning up variable cofactor section.