[npo] Add support for streams (Closes #4276)