Added a base class for filters