Some extension for auto-complete-mode