Added missing event handler.