Mix the cheese, nuts, bread crumbs, lemon juice, salt, and pepper. Cook the onion and fat together until they are brown. Add a small quantity of water and then add the onion mixture to the other ingredients. If necessary, add more water to moisten the mixture. Pour into a baking-dish and bake until brown.