Deprecated user-exposed internal SPI, removed uneccessary utility method in ConstraintType.