Use auto-complete-mode when possible.