Refactor event names.