Refactoring events.