Do this by deprecating `_disable_refinement` and adding an enum for "refinement mode", with "no refinement", "complain", and "refine" as modes.
Do this by deprecating
_disable_refinementand adding an enum for "refinement mode", with "no refinement", "complain", and "refine" as modes.