Validate Class