Added categories to validation errors.