Add the event publish() method to the Runtime definition.
Add the source xblock as an arg to the Runtime.publish method