Added relationship validation.
Improved relationship validation.
Use the relationship validation when validating package definitions.