def METHOD_NAME(self, scope, *, recurse=True, visited=None):
    #
    # We use a return statement even though this is a generator, simply
    # to avoid the generator overhead of yielding each element.
    #
    return cast("Element", self._plugin).METHOD_NAME(scope, recurse=recurse, visited=visited)