Melt the chocolate in a bowl set over a pan of water on a gentle heat. Then leave to cool slightly. Meanwhile beat together the butter and sugar until light and creamy. Add the eggs, one at a time, to the butter and sugar, and mix until combined. Stir in the melted chocolate.