Added comments to the validation code.