Plain gelatin added to a pie filling will give the filling mixture some added structure as it cools. The gelatin must be dissolved in cool water and mixed into the custard until dissolved. When the pie is chilled, the gelatin will allow for nice, pristine slices.