Add support for 'for' directives.