Add support for a list of functions that should not be used and calls to empty on function results

Ok no problem, so could you remove those changes ?