add set_misc support