Adding extra attributes to device objects