def METHOD_NAME(self) -> None:
    """
    Remove all unused variables.
    Notes
    -----
    This could remove unused variables in other DataflowBlocks as well.
    """
    _ffi_api.dfb_rewrite_remove_all_unused(self)  # type: ignore