Adding attrof and indexof template filters