Add options argument to stream constructors.