Allow filtering of documents