Add ContentResolver as required field in device classes.