In a medium bowl combine eggs, melted butter or margarine, and sugar. Stir in vanilla extract. Set mixture aside.
In a separate bowl mix together flour and cocoa powder. Pour egg mixture into flour mixture and stir until thoroughly combined. Fold in chocolate chips if desired. Pour into pastry shell.
Bake in preheated oven for 30 to 40 minutes. Serve hot.