Improve code documentation for the typing stream over replication.