Remove dependency on faraday_middleware