remove the constraints class.