Added context to the method of the autocompletion types