Added messages class