Added deleting messages and changed message format.