Adding a filter for classification.