Added generic constraint.