This would be a good refactoring. We may need some of their filter-parsing code later.