Changed _wrap_api to use introspection for PyUSB API changes