Handle hex device codes as device args
Kill some unneeded stuff