Add validation for UUIDs.