Move rangeForUserCompletion to CompletionEngine.