They did it by asking of courts to revise legislature. If the constitution states that all men are created equal, then it is unconstitutional to say that women and minorities don't have the same rights because men is understood as humanity, not as males.