Added: Filter class implementation.