Added Messages class.