Added constraint classes.