Validate model before returning