Adding check if message exists.