Add code to print device properties