Added field validation.