Refactor getName() to getEventName()