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