Adding basic event listening.