A modular approach to legal drafting and translation