'Enhance configuration.
:param str domain: domain to enhance
:param str enhancement: enhancement type defined in
:const:`~certbot.constants.ENHANCEMENTS`
:param options: options for the enhancement
See :const:`~certbot.constants.ENHANCEMENTS`
documentation for appropriate parameter.'

def enhance(self, domain, enhancement, options=None):

    try:
        return self._enhance_func[enhancement](domain, options)
    except (KeyError, ValueError):
        raise errors.PluginError('Unsupported    enhancement:    {0}'.format(enhancement))
    except errors.PluginError:
        logger.warning('Failed    %s    for    %s', enhancement, domain)
        raise
