DOM events can now be set to classes