- Improved detect completefunc behavior.