Allow to `remove` a document

Make `remove` accept a document (which might have been previously fetched).