Added field validations.