Added device type to Printer model. Refactoring changes.