Some more performance enhancements for completions and reenabled
hostname completion.