Add support for a list of functions that should not be used

Could you provide details on this refactoring please? Is there any functional behaviour change intended via this modification?