Remove unnecessary function and replace with __return_false.