Documentation: fix typos and spelling in replace documentation