Moved `event` to its own module