By the 16th century when sugar was much more readily available, pastry casings were sweetened, made lighter, and most importantly, were made to be eaten along with the filling.
FORBES: Forget Un-American Apple Pie, Native Blueberry Cobbler Is The Perfect 4th July Dessert