def METHOD_NAME(self, new_base, namespace):
    """
    :param new_base: the base to be put on front of all bases
    :param namespace: the namespace of the model
    """
    def fnct(cls_):
        res = {}
        if cls_.__registry_name__ == namespace:
            res = super(new_base, cls_).METHOD_NAME()
        res.update(dict(mysql_engine="InnoDB", mysql_charset="utf8"))
        return res
    return classmethod(fnct)