Add missing uuid generation on deleted revision.
Make validation messages explicitly defined.