Added refs, deferred, and expanded events.
Merge pull request #16 from joneshf/master

Added refs, deferred, and expanded events.