Replaced deprecated FireRegisteredEvent().

Replaced FireRegisteredEvent() with Fire().
Merge pull request #1 from Stabulous/master

Replaced deprecated FireRegisteredEvent().