Added some code to filterer.