Moment class for smart event handling.