Remove a print function.