def add_default(name, **kwargs):
    """Add validator to the plugin class default meta.

    Validator will be added to all subclasses by default

    :param name: str, name of the validator plugin
    :param kwargs: dict, arguments used to initialize validator class
        instance
    """

    def wrapper(plugin):
        if not hasattr(plugin, "DEFAULT_META"):
            plugin.DEFAULT_META = {}
        plugin.DEFAULT_META.setdefault("validators", [])
        plugin.DEFAULT_META["validators"].append((name, (), kwargs,))
        return plugin
    return wrapper