- make name getter const, - define typedef for shared pointer to const device, - make operator<< take a const device.