Fixed up some validation errors.