better handling of variadic params in autocompletion