Add basic support for Filters, and associated tests