Room: simple implementation of the replace command.