Added event capturing.