def addFunction(self, name, source, types=['any']):
    if (name not in self._functions.keys()):
        self._functions[name] = []
    self._functions[name].append({'types': types, 'imp': source})
def addFunction(self, name, source, types=['any']):
    if (name not in self._functions.keys()):
        self._functions[name] = []
    self._functions[name].append({'types': types, 'imp': source})