Added subobject optional argument to stream