Add a new signature for document.save