Fixed missing constraints on partial view classes.