Events work properly now.