Make RecipeAdapter a bit more generic.