Add the 'replace' action.