Fragment validation.