Improve disable_auto_complete.