Remove unneeded "available-DeviceTypes" option

Can you move the whole "if" in the beginning of the method?