def METHOD_NAME(self):
    """
    Will be flagged as a deprecated algorithm due to hiding from
    modeler and toolbox.
    """
    return (
        super().METHOD_NAME()
        | QgsProcessingAlgorithm.FlagNoThreading
        | QgsProcessingAlgorithm.FlagHideFromModeler
        | QgsProcessingAlgorithm.FlagHideFromToolbox
    )