'Initialize the API callback dictionaries.
:param string ctype: The name of the API to initialize.
:param string op: The API operation to initialize.'

def _setup(self, ctype, op):

    if (ctype not in self.settings):
        self.settings[ctype] = {}
    if (ctype not in self._handler_defaults):
        self._handler_defaults[ctype] = {}
    if (ctype not in self._handlers):
        self._handlers[ctype] = {}
    if (op not in self._handlers[ctype]):
        self._handlers[ctype][op] = {'global': None, 'jid': {}, 'node': {}}
