Move device types to global constants