Removed ref to auto-complete mode causing hooks to be skipped