Implement Filter.