Nested validations allow a parent's class validity to include those of child attributes.