Better event dispatch support.