Support for DeclareFilter.