Use the stream API directly.