Implemented filter processing.