Allow searches to exclude certain classes.