Remove unnecessary cout.