Moved filter methods to the main object.