Added new Method: getDevice()
Updated version.