Extracting device details into a device class
Passing device into feature's constructor instead of relying on calling class to set the property