In parts of northern England, cheese and potato pie is often a crustless bake, the word pie simply meaning a baked dish.
No pastry, no problem.