Fixes #40 - Use method name as event name when attaching an event
handler