Reference: get the constructor to work with new elixir as well
Allow streaming from an iterator