Autocompletion inside functions almost done.