Added event listener.