def persistent_load(self, pid):
(tag, key) = pid
if tag == "pathfmt":
return self.__pathFormatter
elif tag == "recipe":
return self.__recipeGetter(key)
else:
raise pickle.UnpicklingError("unsupported object")