Add CmdReplace.