Process::stream() refactoring.