Add option to specify device to be queried.
Add option to specify device to be queried.