Added interface for creating filters.