Add needed boilerplate for Printer.