Rename class from CustomLoader to CustomLoaderForGenerators and remove check on func.compat_func_name