def register_filters(self, filters, force=False):
for filter_name, filter_ref in filters.items():<EOL><INDENT>self.register_filter(filter_name, filter_ref, force)<EOL><DEDENT>
Add/register filters.

Args:
    filters (dict): Dictionary of Python functions to use as :program:`Jinja2` filters.
    force (bool): If set to ``True``, forces the registration of a filter no matter if it already exists or not.