Make getLocalizedDiagnosticMessages and getCancellationToken optional
Remove unused parameter to getCompletionsAtPosition