Remove unnecessary printing.