Fixed some typos in the replication document.