Adding classes for devices