Better handling of printing.