[Code Clean] Using function as default filter.

 * Instead of functional object.