Add -replace. #1059