Added flag for constraint type.