Working with old Messages class