Once the chocolate and butter has melted take off the heat and stir in the cream cheese and coffee, then set aside. In a second bowl mix caster sugar, self-raising flour and cocoa powder.
Spoon over cream cheese layer. Refrigerate 3 to 4 hours or overnight and until set. Just before serving, top with remaining whipped topping and sprinkle with grated chocolate, if desired.