def METHOD_NAME(self, node, **kwargs):
    handler = self._handlers.get(node.__class__, None)
    if handler is not None:
        return handler(node, **kwargs)
    if self._exception_on_unsupported:
        raise UnsupportedNodeTypeError("Node type %s is not supported yet." % type(node))
    return None