ADD interface, types and a constructor for youtube_http.ml