The best way to thicken the dish is by adding eggs. This makes sure that the base binds together and helps to set it while baking. Some recipes do add flour to the mix, but this one does not need any.