Are you saying you don't need to provide `stream` and `local`? That they are both optional? Or, do you need to have at least one of them? Can you clarify.