Custom K2Node with an output pin in the header (like event nodes)

I’m creating a custom K2Node, and would like to have it have an output pin in its header, just like event nodes have an output delegate pin in their headers.


The node I’m making has nothing to do with events or delegates, but a pin in the header would make sense for this node, so if possible I would like to have one there.
I looked through the source code of UK2Node_Event, and I did locate where the output delegate pin is created, but it just looks like any other pin. I found nothing that resembles an instruction to have it generated in the header.
I tried implementing IK2Node_EventNodeInterface in my node and generating a delegate output pin first thing in AllocateDefaultPins to see if it magically appeared in the header, but it just generated as a normal output pin in the node’s body.
Any help would be appreciated. Thanks in advance!