To help the pastry brown evenly, brush the top of the pastry with a thin layer of cream or an egg wash.