As discussed, this shouldn't be needed if this is pulled: https://github.com/xen-org/xen-api-client/pull/7