Register event extension
Merge pull request #2140 from patrickli/register-event-extension

Register event extension