Moved event to its own file.