     client = childProcess.spawn("dcd-client", ["-c" + position])
     reader = readline.createInterface(input: client.stdout)
     completionType = null
-    promises = []
-    fakeContext = null
+    functions = []
 
-    reader.on("line", (line) =>
+    reader.on("line", (line) ->
       parts = line.split("\t")
 
       switch completionType
         when "identifiers"
           if types[parts[1]] is "function"
-            if fakeContext is null
-              fakeContext = @createFunctionContext(text)
-
-            fakeText = fakeContext + parts[0] + "("
-            promises.push(@getCompletions(fakeText, fakeText.length, completions, parts[0]))
+            functions.push(parts[0])
           else
             completions.push(
               text: parts[0]

            )

        when "calltips"
          args = line.substring(line.lastIndexOf("(") + 1, line.length - 1).split(", ")

          for i in [0 .. args.length - 1]
            args[i] = "${#{i + 1}:#{args[i]}}"

            type: if funcName then "function" else "snippet"

          if funcName
            comp.leftLabel = line.slice(0, line.indexOf(" "))

          completions.push(comp)

