Remove spurious "document.add"