Adds basic event and event listener.