Add Class level validation