Adding support for NSPredicate based filtering.