Add function for getting device type