Derestriction of documents