Add back declaration of stream operator.

Review: https://reviews.apache.org/r/23873