Move the default configuration generation inside the stream configuration object.