diff --git a/numina/core/recipereqs.py b/numina/core/recipereqs.py
index <HASH>..<HASH> 100644
--- a/numina/core/recipereqs.py
+++ b/numina/core/recipereqs.py
@@ -28,7 +28,7 @@ class RecipeRequirementsType(MapStoreType):
     '''Metaclass for RecipeRequirements.'''
 
     @classmethod
-    def exclude(cls, value):
+    def exclude(cls, name, value):
         return isinstance(value, Requirement)
 
     @classmethod
diff --git a/numina/core/reciperesult.py b/numina/core/reciperesult.py
index <HASH>..<HASH> 100644
--- a/numina/core/reciperesult.py
+++ b/numina/core/reciperesult.py
@@ -84,7 +84,7 @@ class ErrorRecipeResult(BaseRecipeResult):
 class RecipeResultType(MapStoreType):
     '''Metaclass for RecipeResult.'''
     @classmethod
-    def exclude(cls, value):
+    def exclude(cls, name, value):
         return isinstance(value, Product)
 
 class RecipeResultAutoQCType(RecipeResultType):
Update exclude to have two arguments as store