Added a more complete get_recipe_class method