Implement macro directives