Implement trans-unit directives



<!---
@huboard:{"milestone_order":37.0,"order":5.0,"custom_state":""}
-->