Add a DeletePaste function and stub test.