Getting deleting docs to work