Reframing dharma as changeable law rather than religion enables its reform.
Evidence
I have, therefore, no hesitation in saying that such a religion must be destroyed, and I say there is nothing irreligious in working for the destruction of such a religion. … Once you clear the minds of the people of this misconception and enable them to realise that what they are told is religion is not religion, but that it is really law, you will be in a position to urge its amendment or abolition. — Ambedkar, B R, Annihilation of Caste_ The Annotated…, 998