Add ability to register multiple events with on.