Added errors for validation.