Set up auto completion.