New constants for settings and Devices.DoesNotExist exception catched.