Make use of inspect for event handler registration.
Merge pull request #49 from 404d/issue/48.inspect

Make use of inspect for event handler registration