Added version api call, and fixed recognition of multiple devices.

API version: 10.