Adding support for %attr and %config directives.