Allow deviceClasses to be set via __init__ install method instead of obj...

...ects.xml
Change deviceClasses to device_classes to be consistent with other key names in spec.