Updated class Moment.