How does this check both models? Wouldn't we need to pass both classes?