Remove now-obsolete toggle prevention function