Or the validation could be done inside the `-dictionaryForReplicatorDocument` method, since that already handles errors.