Rename constraints to fit variable type.