Printer class and method added