Simple event handling library.