Remove unnecessary debug code.