Autocomplete which guesses the class name