Boil potatoes until soft, let cool.
Preheat oven 350℉ (175℃).
In a bowl, mash potatoes, then mix in the cheeses, and milk. (Optional: Add chopped smoked ham) In small bowl crack the eggs, beat and add to potato mixture. And mix to incorporate all ingredients.
Butter the baking tray – be sure to also butter on all sides. Dust with a coating of bread crumbs.
Pour potato mixture into the tray and cover with more bread crumbs until fully coated. Then top with shaved or thinly sliced butter.
Bake for 30-45 minutes, or until golden brown and crispy on top.
Remove from oven and let cool slightly before slicing and serving.