EventedObject 2.0: ->on() is now an alias for ->register_event() rather than the long-deprecated ->attach_event().