Add matches and filter methods to model.