Beginging of deleting messages and disabling this option.