Refactored Filtering into interface.