Adding filter templating