def METHOD_NAME(self, filtering, profile):
    """loads up builtin functions, so they can be filtered."""
    class Wrapper:
        def __init__(self, name, plugin):
            self.name = name
            self.plugin = plugin
    extman = extension_loader.MANAGER
    blacklist = profile.get("blacklist")
    if not blacklist:  # not overridden by legacy data
        blacklist = {}
        for node, tests in extman.blacklist.items():
            values = [t for t in tests if t["id"] in filtering]
            if values:
                blacklist[node] = values
    if not blacklist:
        return []
    # this dresses up the blacklist to look like a plugin, but
    # the '_checks' data comes from the blacklist information.
    # the '_config' is the filtered blacklist data set.
    blacklisting.blacklist._test_id = "B001"
    blacklisting.blacklist._checks = blacklist.keys()
    blacklisting.blacklist._config = blacklist
    return [Wrapper("blacklist", blacklisting.blacklist)]