In the mixing bowl, add to squash the eggs, heavy cream, melted butter, vanilla, cinnamon, allspice, and salt, mixing thoroughly with a whisk to break up all the chunks of squash into a smooth, even texture. Pour into a baking dish greased with coconut oil or butter. Cook in oven for 30 minutes, or until casserole is turning slightly golden brown on top. Meanwhile, toast pecan pieces in a sauté pan on medium high heat for 4-6 minutes, tossing often and being careful not to burn. Top casserole with toasted pecan pieces and serve.